package cn.com.bsoft.portal.demo


import cn.com.bsoft.kotlinEx.json
import cn.com.bsoft.wePortal.partner.utils.ajax
import java.net.URL

fun main(args:Array<String>){

    val url = URL("http://127.0.0.1:8080/demo/checkSign")

    val req = mapOf("req" to "123")

    val rsp:Map<String,String>? = url.ajax(req, PartnerCode, Secret)

    println(rsp?.json)

}